import template from "./template.vue"
import config from "./config.vue"
const label = "输入框";
export default {
	sort: 1,
	icon: "fa-duotone fa-input-text",
	label: label,
	name: "input",
	template: template,
	configure: config,
	attribute: {
		placeholder: "请输入",
		label: label,
		clearable: true,
		value: "",
		formatter: (value) => `$ ${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ','),
		parser: (value) => value.replace(/\$\s?|(,*)/g, '')
	}
};